import java.util.Scanner;

public class Main1495 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
       int n=sc.nextInt();

       for (int i=1;i<=n;i++){
           int a=0;
           for (int k=2;k<i-1;k++){
               if (i%k==0){
                   a++;
               }
           }
           System.out.println(a);
       }
    }
}
